package com.hgt.alibaba.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.hgt.springcloud.common.CommonResult;

/**
 * @author HuangGaoTao 929507053@qq.com
 * @Created: 2021/7/16 11:55
 */
public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException exception){
        return new CommonResult(2020,"自定义限流处理信息...CustomerBlockHandler");
    }

    public static CommonResult handleException2(BlockException exception){
        return new CommonResult(2021,"自定义限流处理信息...CustomerBlockHandler");
    }
}
